package de.tudarmstadt.fgbs.cafe.exception;

/**
 * This Exception is supposed to be thrown whenever a method is called that is
 * not supported by the implementing class.
 * 
 * @author Christian Schlehuber
 * 
 */
public class FunctionalityNotImplementedException extends RuntimeException {

    /**
     * The serial version UID
     */
    private static final long serialVersionUID = -5091325523541723023L;

    /**
     * Constructs a new {@link FunctionalityNotImplementedException} with the
     * given message.
     * 
     * @param message
     *            a message explaining why this {@link Exception} was thrown
     */
    public FunctionalityNotImplementedException(String message) {
	super(message);
    }

    /**
     * Constructs a new {@link FunctionalityNotImplementedException} with the
     * given cause.
     * 
     * @param cause
     *            a {@link Throwable} that caused this {@link Exception} to be
     *            thrown
     */
    public FunctionalityNotImplementedException(Throwable cause) {
	super(cause);
    }

    /**
     * Constructs a new {@link FunctionalityNotImplementedException} with the
     * given cause and message.
     * 
     * @param message
     *            a message explaining why this {@link Exception} was thrown
     * @param cause
     *            a {@link Throwable} that caused this {@link Exception} to be
     *            thrown
     */
    public FunctionalityNotImplementedException(String message, Throwable cause) {
	super(message, cause);
    }

}
